#include<stdio.h>
int main()
{   	   	 	  
    int year;

    printf("Input year:");
    scanf("%d", &year);                         //2

    if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) //3
        printf("Yes!");
    else                                        //2
        printf("No!");

    return 0;
}   	   